home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16474 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.nyu.edu!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 10 Apr 1996 15:18:30 -0400
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.829163754@schonberg>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.828936837@schonberg>     <4kb2j8$an0@solutions.solon.com> <4kbrt5$k3h@mulga.cs.mu.OZ.AU>     <4kcer3$mi4@solutions.solon.com> <4kdnvq$3n8@mulga.cs.mu.OZ.AU>     <4kgmgu$jm@galaxy.ucr.edu> <AUSTERN.96Apr10103441@isolde.mti.sgi.com>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. "Are you sure that this is possible on the machines that you'd like
  13. your program to run on?  On many of today's RISC chips, after all,
  14. floating point exceptions are asynchronous: you have no way of
  15. knowing which instruction caused the problem."
  16.  
  17. Actually, some modern RISC chips effectively do not generate floating-point
  18. exceptions. The IEEE 754 (floating-point) standard does NOT require this
  19. capability.
  20.  
  21. An example is the POWER architecture, where you can only get floating-point
  22. exceptions by disconnecting the pipeline and slowing down ALL code
  23. drastically. This mode is intended only or debugging, not for production
  24. use.
  25.  
  26. It seems quite reasonable in fact to consider designing floating-point
  27. feature sets with no capability of asyncrhonous exceptions at all.
  28.  
  29.